package ru.ncedu.java.sean.robots.Test.java;

public class Point 
{
	public int x;
	public int y;
	
	public Point(int a,int b)
	{
		this.x=a;
		this.y=b;
	}
	public Point()
	{
		this.x=0;
		this.y=0;
	}
	
	public void printPoint()
	{
		System.out.println("(" + this.x + "," + this.y + ")");
	}
	
	void addData(int a,int b)
	{
		this.x=a;
		this.y=b;
	}
}
